.class Lcom/xingbook/park/f/f;
.super Lcom/xingbook/park/e/d;


# instance fields
.field private a:J

.field private b:I

.field private c:I

.field private d:Lcom/xingbook/park/b/e;

.field private e:Lcom/xingbook/b/n;

.field private final synthetic f:Ljava/util/ArrayList;

.field private final synthetic g:Lcom/xingbook/park/e/c;


# direct methods
.method constructor <init>(Lcom/xingbook/park/e/c;Ljava/util/ArrayList;Lcom/xingbook/park/e/c;)V
    .locals 3

    const/4 v2, 0x0

    iput-object p2, p0, Lcom/xingbook/park/f/f;->f:Ljava/util/ArrayList;

    iput-object p3, p0, Lcom/xingbook/park/f/f;->g:Lcom/xingbook/park/e/c;

    invoke-direct {p0, p1}, Lcom/xingbook/park/e/d;-><init>(Lcom/xingbook/park/e/c;)V

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/xingbook/park/f/f;->a:J

    iput v2, p0, Lcom/xingbook/park/f/f;->b:I

    iput v2, p0, Lcom/xingbook/park/f/f;->c:I

    return-void
.end method


# virtual methods
.method public endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x0

    const-string v0, "message"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/f/f;->g:Lcom/xingbook/park/e/c;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/e/c;->a(Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v0, "b"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/f;->f:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iput-object v2, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    goto :goto_0

    :cond_2
    const-string v0, "i"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    invoke-virtual {v0}, Lcom/xingbook/park/b/e;->a()I

    move-result v0

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/xingbook/c/t;->a(IZ)Lcom/xingbook/b/n;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/n;->f(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/b/e;->a(Lcom/xingbook/b/n;)V

    iput-object v2, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    goto :goto_0
.end method

.method public startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .locals 8

    const/4 v3, 0x1

    const/4 v4, 0x3

    const/4 v2, 0x0

    const/4 v7, 0x0

    iget-object v0, p0, Lcom/xingbook/park/f/f;->j:Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->length()I

    move-result v1

    invoke-virtual {v0, v2, v1}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    const-string v0, "res"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/f/f;->i:Lcom/xingbook/park/e/c;

    invoke-virtual {v0, p4}, Lcom/xingbook/park/e/c;->a(Lorg/xml/sax/Attributes;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v0, "todayList"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, "total"

    invoke-interface {p4, v0}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, v2}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/f/f;->c:I

    goto :goto_0

    :cond_2
    const-string v0, "today"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string v0, "p"

    invoke-interface {p4, v0}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_7

    const-string v1, "`"

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    :try_start_0
    aget-object v1, v0, v1

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Lcom/xingbook/park/f/f;->b:I

    const/4 v1, 0x1

    aget-object v1, v0, v1

    const-wide/16 v2, 0x0

    invoke-static {v1, v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;J)J

    move-result-wide v1

    iput-wide v1, p0, Lcom/xingbook/park/f/f;->a:J

    const/4 v1, 0x2

    aget-object v5, v0, v1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    array-length v1, v0

    if-le v1, v4, :cond_6

    const-string v1, ""

    const/4 v2, 0x3

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    move-result v1

    if-eqz v1, :cond_3

    move-object v0, v7

    :goto_1
    move-object v6, v0

    :goto_2
    new-instance v0, Lcom/xingbook/park/b/e;

    iget v1, p0, Lcom/xingbook/park/f/f;->c:I

    iget-wide v2, p0, Lcom/xingbook/park/f/f;->a:J

    iget v4, p0, Lcom/xingbook/park/f/f;->b:I

    invoke-direct/range {v0 .. v6}, Lcom/xingbook/park/b/e;-><init>(IJILjava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    iget-object v0, p0, Lcom/xingbook/park/f/f;->f:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iput-object v7, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    goto :goto_0

    :cond_3
    const/4 v1, 0x3

    :try_start_2
    aget-object v0, v0, v1
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_1

    :catch_0
    move-exception v0

    move-object v5, v7

    :goto_3
    move-object v6, v7

    goto :goto_2

    :cond_4
    const-string v0, "b"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    new-instance v0, Lcom/xingbook/park/b/e;

    iget v1, p0, Lcom/xingbook/park/f/f;->c:I

    iget-wide v2, p0, Lcom/xingbook/park/f/f;->a:J

    iget v4, p0, Lcom/xingbook/park/f/f;->b:I

    move-object v5, v7

    move-object v6, v7

    invoke-direct/range {v0 .. v6}, Lcom/xingbook/park/b/e;-><init>(IJILjava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    iget-object v0, p0, Lcom/xingbook/park/f/f;->d:Lcom/xingbook/park/b/e;

    const-string v1, "p"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/b/e;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_5
    const-string v0, "i"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "t"

    invoke-interface {p4, v0}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v1, -0x1

    invoke-static {v0, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    invoke-static {v0, v3}, Lcom/xingbook/c/t;->a(IZ)Lcom/xingbook/b/n;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    iget-object v1, p0, Lcom/xingbook/park/f/f;->e:Lcom/xingbook/b/n;

    if-nez v1, :cond_0

    sget-object v1, Ljava/lang/System;->err:Ljava/io/PrintStream;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "jr>>item\u8d44\u6e90\u7c7b\u578bt("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, ")\u83b7\u53d6ben\u5f02\u5e38"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    goto/16 :goto_0

    :catch_1
    move-exception v0

    goto :goto_3

    :cond_6
    move-object v6, v7

    goto/16 :goto_2

    :cond_7
    move-object v6, v7

    move-object v5, v7

    goto/16 :goto_2
.end method
